package tk.mybatis.springboot.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.util.Date;

/**
 * Created by admin on 2017/5/15.
 */
@Data
public class Teacher extends BaseUser{
    private String tjn;
    private String tp;
    private String eb;
    private String gs;
    private String sin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date born;
    private String nation;
    private String bp;
    private String ps;
    private String pno;
    private String em;
    private String pt;
    {
        super.setType("teacher");
    }
}
